int (__stdcall *ptr)(int,float) = &func;